package com.aaa.dem1109.作业;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/9  18:54
 */
public class Test {
    public static void main(String[] args) {
        Haha haha = new Haha();
        ProxyFactory proxyFactory = new ProxyFactory(haha);
        Haha target = (Haha) proxyFactory.getTarget();
        int cheng = target.cheng(1, 2);

        int add = target.add(2, 3);
    }
}
